﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ue.Infrastructure.DomainBase;

namespace Ue.Qcdz.Domain.SinglePages
{
    public class SinglePage : EntityBase
    {
        public SinglePage(object key) : base(key) { }
        public string Title { get; set; }
        public string Content { get; set; }
        public string ImageUrl { get; set; }
        public string CategoryId { get; set; }
        public int Status { get; set; }
        public int DisplayOrder { get; set; }
        public void ChangeStatus()
        {
            this.Status = this.Status == 1 ? 0 : 1;

        }

    }
}
